package com.tem.content.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 内容媒体库
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cms_content_media")
@ApiModel(value="CmsContentMedia对象", description="内容媒体库")
public class CmsContentMedia implements Serializable {

    private static final long serialVersionUID=98534240541L;

    @ApiModelProperty(value = "内容媒体库")
    @TableId(value = "cms_content_media_id", type = IdType.AUTO)
    private Long cmsContentMediaId;

    @ApiModelProperty(value = "内容id")
    @TableField("content_id")
    private Long contentId;

    @ApiModelProperty(value = "排序降序")
    @TableField("seq")
    private Integer seq;

    @ApiModelProperty(value = "媒体描述")
    @TableField("now_description")
    private String nowDescription;

    @ApiModelProperty(value = "媒体路径")
    @TableField("url")
    private String url;


}
